package com.shop.service;

import com.shop.entity.PmsAttr;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分类属性表 服务类
 * </p>
 *
 * @author lpx610
 * @since 2023-11-04
 */
public interface PmsAttrService extends IService<PmsAttr> {
    List<PmsAttr> getByCategoryId(String categoryId);
    Boolean add(String[] names, String categoryId, Integer type);
    Boolean update(String id, String name, Integer type);
    Boolean delete(String id);
}
